
export default {
    data: () => ({

    }),
    computed: {
        
    },
    methods: {
        phoneValidator: function (rule, value, callback) {
            if (!(/^1\d{10}$/.test(value))) {
                callback(new Error('手机号格式错误'));
            } else {
                callback()
            }
        },

    },
    mounted() {

    }


}
